package com.dzh.dzhhub.dao;

import com.dzh.dzhhub.entity.Permission;
import org.springframework.stereotype.Repository;

import java.util.Set;

/**
 * @author DZHooo
 * @version 1.0
 * @date 2021/11/16 10:32
 * @description: TODO
 */

@Repository
public interface PermissionDao {

    Permission getUserPermission(String username);

    /**
     * 查询所有的菜单
     */
    Set<String> getAllMenu();

    /**
     * 查询所有的权限
     */
    Set<String> getAllPermission();
}
